package net.qhzw.vip.qiyu.entity;


import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

@Data
@TableName("mall_user_vip")
@AllArgsConstructor
@NoArgsConstructor
public class MallUserVip implements Serializable {
    private static final long serialVersionUID = 6222259729062826852L;

    @TableId
    private Long id;
    private Long userId;
    private Long shopId;

    /**
     * 添加时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

}
